import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class MainFrame {
	JPanel back=new JPanel();
	JLabel a=new JLabel();
	JLabel b=new JLabel();
	
	public static void main(String[] args){
		JFrame frame=new JFrame("Student Registration System");
		frame.setSize(600,400);//temporary frame size setting
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
		frame.setResizable(false);
		
		LoginPanel login=new LoginPanel();
		
		frame.getContentPane().add(login);
		frame.pack();
		new LoginPanel();
	
	}

}
